﻿#ifndef ACCOUNTBOOKADD_H
#define ACCOUNTBOOKADD_H

#include <QWidget>
#include "AccountBookData.h"

namespace Ui {
class AccountBookAdd;
}

class AccountBookAdd : public QWidget
{
    Q_OBJECT

public:
    explicit AccountBookAdd(QWidget *parent = nullptr);
    ~AccountBookAdd();

public slots:
    void slotAccountAdd();

private slots:
    void slotUpdateStyleComBox();
private:
    void initStyle();
    void updateStyleCombox(QStringList lst);

private:
    Ui::AccountBookAdd *ui;
    QStringList m_styleIn;  // 收入类型
    QStringList m_styleOut;  // 支出类型

signals:
    void sigAddSuccessed();
};

#endif // ACCOUNTBOOKADD_H
